export const PageComponents = {
    install(Vue: any, opt: any) {
        <#--  首页视图用户引用为false所有视图start  -->
<#if view.getAllRelatedPSAppViewsEx?? && view.getAllRelatedPSAppViewsEx()??>
    <#list view.getAllRelatedPSAppViewsEx() as appview>
        <#if !appview.isUserRefMode() && appview.getViewType()?index_of('REDIRECTVIEW') == -1>
        Vue.component('${srffilepath2(appview.getCodeName())}', () => import('@pages/${srffilepath2(appview.getPSAppModule().getCodeName())}/${srffilepath2(appview.getCodeName())}/${srffilepath2(appview.getCodeName())}.vue'));
        </#if>
    </#list>
</#if>
        <#--  首页视图用户引用为false所有视图end  -->
        <#-- 应用下所有用户引用为true的视图注册start -->
<#if app.getAllPSAppViews?? && app.getAllPSAppViews()??>
    <#list app.getAllPSAppViews() as appview>
        <#if appview.isUserRefMode() && appview.getViewType() != "APPINDEXVIEW" && appview.getViewType()?index_of('REDIRECTVIEW') == -1>
        Vue.component('${srffilepath2(appview.getCodeName())}', () => import('@pages/${srffilepath2(appview.getPSAppModule().getCodeName())}/${srffilepath2(appview.getCodeName())}/${srffilepath2(appview.getCodeName())}.vue'));
        </#if>
    </#list>
</#if>
        <#-- 应用下所有用户引用为true的视图注册end -->
    }
};